mediawiki-save-page-hook not effective

Bug #674363 reported by Puneet Goel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mediawiki-el
Incomplete
Undecided
Mark A. Hershberger

Bug Description

I wanted to untabify my buffer before posting. So I added the following hook

(add-hook 'mediawiki-save-page-hook
   (lambda()
     (untabify (point-min) (point-max))))

Unfortunately, this does not work. The mediawiki-save-page gets the content in the content variable -- and does not take any changes that I apply to the buffer when I am posting the page.

It would be better to move this hook to mediawiki-save function.

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

Um... shouldn't have confirmed since I don't see this hook in the current version. What version are you using that has the hook titled "mediawiki-save-page-hook"?

Changed in mediawiki-el:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Mark A. Hershberger (hexmode)
status: Confirmed → Incomplete
Changed in mediawiki-el:
importance: Medium → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.