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





--- Comment #3 from P.Copp <paul.copper...@googlemail.com>  2009-12-15 00:46:05 
UTC ---
(In reply to comment #2)
> Thanks for the fast response.  The patch works in the sense of not crashing
> anymore, but the autogenerated edit links now all point to nonexistent 
> sections
> of incorrect articles.  Eg. in the article "Main":
> 
> ==Orientation== [edit] ->
> http://atlas-mediawiki.local/index.php?title=Main&action=edit&section=1
> ==Information== [edit] ->
> http://atlas-mediawiki.local/index.php?title=Orientation&action=edit&section=T-1
>
You should be able to specify the correct title in the array returned by your
parser function:

  return array( $output, 'noparse' => false, 'title' => $yourTitleObject );

The section indices might be wrong, though, so I'm not sure, if this is what
you're actually trying to do.

> 
> Simply disabling section editing entirely and generating my own edit links via
> the extension is probably an acceptable workaround though.
> 
You can generate headings without edit links via

<h2> Section title </h2>


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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