On Thu, Aug 13, 2009 at 3:25 PM, Chad<[email protected]> wrote:
> On Thu, Aug 13, 2009 at 3:10 PM, Taja Anand<[email protected]> wrote:
>> Hi all,
>>
>> I've been trying to patch MediaWiki towards a bug for the past 4 days but
>> there is some weird stuff happening. The wiki behaves unresponsive to any
>> patches. Please help me out.
>>
>> Till now, I've tried the following, but the wiki on my localhost functions
>> as though no changes have taken place:
>>
>> 1) Applied the first hack given on
>> http://meta.wikimedia.org/wiki/Customizing_edit_toolbar [not even the table
>> icon appears]
>
> Not sure why it's not working. As a general comment that guide sucks, and
> I suggest to not use it. You shouldn't need to edit EditPage to add new 
> toolbar
> items, just tweak mwEditButtons[] and mwCustomEditButtons[] in your site
> JS (I don't have a link to a guide on that offhand).
>
>> 2) Set the predicate (preg_match) to zero in Parser.php (689) [it still
>> parses it as a table]
>
> I really don't understand why you'd be doing that. It doesn't make any
> sense, and tweaking the Parser is certainly not something I'd recommend
> for someone just starting out trying to hack MW.
>
>> 3) removed all the content of index.php !! [it still runs]
>>
>
> That makes no sense whatsoever...I can only guess your browser might
> have the output cached locally? I dunno...it's weird.
>
> Couple of suggestions though. Read through the documentation on [1]
> for starters. The various pages linked on [2] are probably also really 
> helpful.
> As a general rule of thumb, I would suggest avoiding documentation from
> Meta. It's usually really outdated and sometimes completely wrong. We
> document everything on Mediawiki.org now, so you're best off checking there
> to answer more of your questions.
>
> -Chad
>

Duh sorry.

[1] http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
and
[2] http://www.mediawiki.org/wiki/Developer_hub

-Chad

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to