https://bugzilla.wikimedia.org/show_bug.cgi?id=36080

--- Comment #3 from desertw...@mad.scientist.com 2012-04-19 15:27:33 UTC ---
Hi,


first of all i don't use that extension to modify the edit button - i just want
to add a div with a css class before and after a heading - and i found out that
this method was pretty simple - i DO NOT WANT to change the edit text/icon with
that

currently i replace this:

$text = preg_replace('/<h([23])><span class="editsection">\[<a href="(.+)"
title="(.+)">(.+)<\/a>\]<\/span> <span(.+)>(.+)<\/span><\/h[23]>/i', '<div
class="MainHead"><h$1><span class="editsection">[<a href="$2"
title="$3">$4</a>]</span> <span $5">$6</span></h$1></div>', $text);

which should work fine according to regexbuddy and did in mw1.16

for my extensions - besides Edit_Section_Link_Transform extension i only have
the extensions installed that came with mw1.18

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
require_once( "$IP/extensions/Gadgets/Gadgets.php" );
require_once( "$IP/extensions/Nuke/Nuke.php" );
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
require_once( "$IP/extensions/Renameuser/Renameuser.php" );
require_once( "$IP/extensions/Vector/Vector.php" );
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

also tried it with comment all the lines - but it didnt help

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to