Last modified: 2014-02-13 22:58:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45513, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43513 - Support transcluding MediaWiki pages in content language ({{MediaWiki:foo}}) in jqueryMsg
Support transcluding MediaWiki pages in content language ({{MediaWiki:foo}}) ...
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-30 10:07 UTC by Matthew Flaschen
Modified: 2014-02-13 22:58 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Matthew Flaschen 2012-12-30 10:07:56 UTC
Even with my in-progress wikilink fix (bug 43498), messages like https://www.mediawiki.org/w/index.php?title=Special%3AAllMessages&prefix=newarticletext&filter=all&lang=en&limit=50 don't work.  The original message source is:

You have followed a link to a page that does not exist yet. To create the page, start typing in the box below (see the [[{{MediaWiki:Helppage}}|help page]] for more info). If you are here by mistake, click your browser's '''back''' button.

It doesn't yet have any support for recognizing the {{MediaWiki:message}} construct
Comment 1 Siebrand Mazeland 2012-12-30 22:56:58 UTC
Timo, is there a fast fix possible?
Comment 2 Matthew Flaschen 2012-12-31 22:27:57 UTC
Fixed, awaiting Gerrit review: https://gerrit.wikimedia.org/r/#/c/41808/
Comment 3 Siebrand Mazeland 2012-12-31 22:30:44 UTC
Cool. I've added Timo and Santhosh as reviewers.
Comment 4 Matthew Flaschen 2013-01-02 00:36:12 UTC
Nikerabbit pointed out that I seem to have unintentionally implemented int instead.  I opened https://bugzilla.wikimedia.org/show_bug.cgi?id=43574 so I can tag the feature correctly.

The difference, if I understand correctly, is that MediaWiki: (as a normal transclusion) always uses the content language, while int: always uses the interface language.

Unfortunately, I don't know a way to implement MediaWiki: here without a synchronous API call to the server.  As implied at https://bugzilla.wikimedia.org/show_bug.cgi?id=25349 (see "forcontent" feature request in title), ResourceLoader currently serves all messages plain (unparsed) from the interface language.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links