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

Mailing List Archive: Wikipedia: Wikitech

What is the structure of $editpage in AlternateEdit hook, and how to use it

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


bigreat at gmail

Jan 14, 2007, 8:40 AM

Post #1 of 2 (832 views)
Permalink
What is the structure of $editpage in AlternateEdit hook, and how to use it

Hi,
I want to add a special line to every new page when first
creat/edit it. And I want to use the AlternateEdit hook to write and
extension, but failed, it seems, I can't do like this
"$editpage->mArticle->mContent=$temp1;" when start a new page.

Thx!

--
---BiGreat---

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


robchur at gmail

Jan 14, 2007, 3:06 PM

Post #2 of 2 (739 views)
Permalink
Re: What is the structure of $editpage in AlternateEdit hook, and how to use it [In reply to]

On 14/01/07, Liang Chen <bigreat [at] gmail> wrote:
> I want to add a special line to every new page when first
> creat/edit it. And I want to use the AlternateEdit hook to write and

Why that hook? It seems to me that EditFormPreloadText would do a better job.


Rob Church

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

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.