Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech
need sm help
 

Index | Next | Previous | View Flat


viralgupta0 at gmail

Jun 16, 2008, 12:53 PM


Views: 210
Permalink
need sm help

I am trying to...

add sm text to the wikitext when the document is saved. Something like at
the end of each header,p,a tags some text should be added.
To identify within the wikitext where these different html elements start
and stop is difficult.

So i thought a better idea is to give the wikitext to /includes/Parser.php
which will parse the wikitext and generate html.
In places where the file Parser.php is adding html I will comment it and add
my custom text to it.

This definately means Parser has to be called before the text is saved. I
can copy and create a new customParser file and then make changes to it.
So lets say now there will be /includes/myparser.php

Does anyone have a better idea than this. I am also not sure how difficult
will it be for me to identify where the
appropriate html is added. I found some functions like dbBlockLevel will add
p,list tags to wikitext.

help will be highly appreciated.

Thanks
--Viral
_______________________________________________
Wikitech-l mailing list
Wikitech-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Subject User Time
need sm help viralgupta0 at gmail Jun 16, 2008, 12:53 PM
    Re: need sm help magnusmanske at googlemail Jun 17, 2008, 2:52 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.