[Mediawiki-l] MediaWiki Hacks: Troubleshooting

Jan Luca jan at jans-seite.de
Thu Aug 13 08:57:03 UTC 2009


Hello,

a tipp: You can use wikEd with the Gadgets-Extensions
(http://www.mediawiki.org/wiki/Extension:Gadgets), so you don't need
Greasemonkey.

Viele Grüße
Jan

-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] Im Auftrag von Jean Pierre
Charalambos
Gesendet: Donnerstag, 13. August 2009 04:57
An: MediaWiki announcements and site admin list
Betreff: Re: [Mediawiki-l] MediaWiki Hacks: Troubleshooting

On Wed, Aug 12, 2009 at 9:16 PM, Taja Anand<taja.wiki at gmail.com> wrote:
> Hi all,
>
> I'm an enthusiast in MediaWiki Development and I'm having some troubles
> starting off. I have been administering MediaWiki installation on my
website
> for quite some time
> but for the past 4 days I'm struggling to get a hack. Please help me out.
>
> I've read the material given in the Manual, How to Become a MediaWiki
> Hacker, how to Debug and all the other relevant pages related to
> development.
>
> Till now, I've tried the following, but the wiki on my localhost functions
> as though no changes have taken place (I've not tried all this on my
website
> yet) :
>
> 1) Applied the first hack given on
> http://meta.wikimedia.org/wiki/Customizing_edit_toolbar [not even the
table
> icon appears]

I'm also a newbie enthusiastic mediawikier, having exactly the same
issue which I couldn't solve yet :)
I found the following possible solutions:

1. low-level (didn't try it yet):
http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_add_more_buttons_on_the_ed
it_page.3F
2. high level: http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons
3. Simply edit common.js to customise the tool bar (didn't remember
where I read it). I basically add code like this:
http://www.skoffer.com/index.php?title=MediaWiki:Common.js&oldid=250
to the newly created page named Common.js which I created as admin
(something called sysop -- or something like this --in mediawiki
language).
4. I succesfully installed wikEd using Greasemonkey (a firefox add-on)
which has nice editing tools. The good news is that It works for any
wiki. The bad news is that it only works locally (i.e., for users that
have enabled the wikEd script in their firefox configuration) which
means it didn't solve my problem.

Hope it helps a bit. Hope to hear better ideas. Cheers,

Jean Pierre

> 2) Set the predicate (preg_match) to zero in Parser.php (689) [it still
> parses it as a table]
> 3) removed all the content of index.php !! [it runs]
>
> and a lot of things were tried out, but no success. However, wiki does
> respond when I switch off the MySql service or move a file (such as
> WebStart.php).
>
> I've not had any progress due to this unexpectedly weird stuff going on.
> Please give a hint or a pointer in the right direction.
>
>
> Thanks
> Taja
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list