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

Antoine "hashar" Musso <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
                   |                            |, [email protected]
          Component|Scribunto                   |Echo

--- Comment #3 from Antoine "hashar" Musso <[email protected]> ---
I am moving this to the Echo extension.

In Echo tests/NotificationFormatterTest.php there is a test that ends up
invoking the Linker to create full URL for Main_page and pass it a fragment.

Title::newMainPage() is really Title::newFromText('Main_Page') which is cached.
 Whenever the fragment is set, it stuck in the cache entry and later call to
Title::newMainPage() yields a Title object which has the fragment.


The ugly workaround is to have the Echo test to reset the fragment.

-- 
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