[Mediawiki-l] MediaWiki Hacks: Troubleshooting

Jean Pierre Charalambos nakednous at gmail.com
Fri Aug 14 00:37:56 UTC 2009


Jean Pierre Charalambos -- http://disi.unal.edu.co/profesores/pierre/



On Wed, Aug 12, 2009 at 9:57 PM, Jean Pierre
Charalambos<nakednous at gmail.com> wrote:
> 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_edit_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).


Editing MediaWiki:Common.js finally worked for me:
http://disi.unal.edu.co/wikiapuntes/index.php/MediaWiki:Common.js

The problem was that I was editing WikiApuntes:Common.js instead.

Best regards,

Jean Pierre

> 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
>>
>



More information about the MediaWiki-l mailing list