https://bugzilla.wikimedia.org/show_bug.cgi?id=60695
Web browser: ---
Bug ID: 60695
Summary: {{SITENAME}} not parsed: "Publish to {{SITENAME}}" as
message box title when
$wgDefaultUserOptions['wikieditor-publish'] = 1
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikiEditor
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
I am referring to latest core and latest E:WikiEditor version from git.
When you have set
- # Displays the Publish and Cancel buttons on the top right side
- $wgDefaultUserOptions['wikieditor-publish'] = 1;
and when you click on "publish" (these button are _only_ shown, when the option
$wgDefaultUserOptions['wikieditor-publish'] is set to 1 as shown above -
then the TitleMsg of the Javascript-generated box is
"Publish to {{SITENAME}}"
because {{SITENAME}} is not rendered!
The message key in
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikiEditor/4433c7b98a0959fedbf1fce4b798a24b27d85001/WikiEditor.i18n.php#L33
is
'wikieditor-publish-dialog-title' => 'Publish to {{SITENAME}}',
and the modules does not render this correctly, the message text being
therefore wrong for all translated languages.
Suggestion:
Fix the module
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikiEditor/4433c7b98a0959fedbf1fce4b798a24b27d85001/modules%2Fjquery.wikiEditor.publish.js
--
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