Last modified: 2013-10-28 17:44:03 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 T57810, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55810 - VisualEditor: When a template is completely empty, it is invisible in CE
VisualEditor: When a template is completely empty, it is invisible in CE
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-10-31
Assigned To: Moriel Schottlender
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-16 21:12 UTC by Moriel Schottlender
Modified: 2013-10-28 17:44 UTC (History)
4 users (show)

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


Attachments

Description Moriel Schottlender 2013-10-16 21:12:03 UTC
This bug came about from a misspelled parameter in a template on hewiki. The template returned a completely empty result when the required parameter was invalid, and there was no place to hover above the template and access the transclusion icon to change or remove it.

To replicate:
* Go to https://he.wikipedia.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9%D7%AA:Mooeypoo/%D7%A2%D7%95%D7%A8%D7%9A_%D7%97%D7%96%D7%95%D7%AA%D7%99/%D7%91%D7%93%D7%99%D7%A7%D7%95%D7%AA_%D7%95%D7%9E%D7%A9%D7%97%D7%A7%D7%99%D7%9D?veaction=edit
* Click on transclusion, and add the template "ערך מורחב"
* Add parameter with the name "1"
* Add value to the parameter (invalid value) - "[[blah]]"
* Apply and click anywhere else on the document to clear the selection - the template vanished. However, it was added to the wikitext and is in the page after save, but there's no way to access it from VisualEditor and remove it (or edit it)

I have an idea on how to solve that, but I am not sure if the issue isn't deeper.
Comment 1 Gerrit Notification Bot 2013-10-16 22:26:23 UTC
Change 90210 had a related patch set uploaded by Catrope:
Adding a placeholder into an empty transclusion

https://gerrit.wikimedia.org/r/90210
Comment 2 Gerrit Notification Bot 2013-10-28 17:42:18 UTC
Change 90210 merged by jenkins-bot:
Add a placeholder into an empty transclusion

https://gerrit.wikimedia.org/r/90210

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


Navigation
Links