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


Happy-melon <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #5797 is|0                           |1
           obsolete|                            |




--- Comment #10 from Happy-melon <[email protected]>  2009-05-14 09:42:43 
UTC ---
Created an attachment (id=6117)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6117)
Better patch, against r50568

Tested my original patch; as I expected, it did indeed render the
"#REDIRECT[[Foo]]" in plaintext underneath the 'proper' redirect.  I stole the
code from Title::newFromRedirectInternal to remove the code from the wikitext. 
A better solution would be to have the Parser replace the #REDIRECT marker with
Article::viewRedirect when it encounters it, but this method works. Patch
tested and works for normal display, however for some reason it does not render
the page contents on page preview, which is a bit wierd.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to