|Thread title||Replies||Last modified|
|suggested lines of code don't copy-paste well from this page||3||09:21, 2 March 2019|
I just tried to copy-paste
- /path/to/extensions/SemanticMediaWiki/removeDuplicateEntities.php --quiet
from the previous page. When I tried to paste it into my editor to put it into a script file, it pasted as
- /path/to/extensions/SemanticMediaWiki/remove-Duplicate-Entities.php --quiet (emphasis is mine)
As in it added dashes in those places. When I tried to copy-paste from the help page to here this does not happen.
If something like that happened to regular text that would be one thing, but when it happens to a code snippet it could really send someone the wrong direction. I can't see in the page why it does that, so could not just correct it. I tried putting it there as
@monthly 3.15 php /path/to/extensions/SemanticMediaWiki/removeDuplicateEntities.php --quiet but the weird hyphenation thing still happens.
Also, after I saved this new discussion entry, the page stayed as "creating... " even after saving. When I tried to leave it gave me the same warning you get when you try to leave with unsaved data. The comment was saved, though.