Tacsipacsi added a project: MediaWiki-extensions-DoubleWiki.
Tacsipacsi added a comment.


  In T323376#8405720 <https://phabricator.wikimedia.org/T323376#8405720>, 
@matmarex wrote:
  
  > - mediawiki/extensions/DoubleWiki
  >   - Looks correct
  
  Well, not entirely. I don’t know if there are things that work similarly to 
`talkpageheader` but in even-numbered namespaces, but I could (IMO) break it:
  
  1. Since DoubleWiki works with interlanguage links, I had to get MediaWiki 
display interlanguage links in talk namespaces. I could’ve probably written an 
extension that adds them (or install Wikibase), but the easiest solution was 
simply modifying Parser.php to remove the `$nottalk` check from the code 
recognizing interlanguage links. Isn’t likely to happen in production, but it 
fits for testing. 🙂
  2. Created MediaWiki:talkpageheader, calling a template in which I “forgot” 
to wrap the interlanguage link in `<noinclude>`.
  3. Also added a direct interlanguage link to a talk page.
  4. Opened the talk page with `&match=hu` added to the URL.
  5. Got QuadrupleWiki instead of DoubleWiki: both the talk page header and the 
main content got their Hungarian equivalents – except that sometimes the main 
content also got the Hungarian equivalent of the talk page header, probably due 
to cache pollution.
  
  Until someone comes up with a such way to reproduce this that at least 
doesn’t involve modifying the parser, it’s pretty low-priority, but it’s still 
a bug.

TASK DETAIL
  https://phabricator.wikimedia.org/T323376

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: matmarex, Tacsipacsi
Cc: Tacsipacsi, ppelberg, matmarex, Aklapper, Adamm71, Jersione, Hellket777, 
LisafBia6531, Astuthiodit_1, 786, VPuffetMichel, Biggs657, karapayneWMDE, 
Invadibot, Khr2003, maantietaja, Juan90264, Alter-paule, Apameia, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, DannyS712, 
CucyNoiD, Nandana, Analytics.mediafiles, Gaboe420, Patriccck, Giuliamocci, 
Cpaulf30, Lahi, Gq86, Af420, mojoaxel, Bsandipan, GoranSMilovanovic, 
Jayprakash12345, QZanden, LawExplorer, Lewizho99, JJMC89, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331, Legoktm
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to