ઢાંચો:REVISIONUSER2/doc
This is a documentation subpage for ઢાંચો:REVISIONUSER2. It may contain usage information, categories and other content that is not part of the original ઢાંચો page. |
The magic word {{REVISIONUSER}}
gives poor formatting and fails in wikilinks if the username starts with an asterisk '*' or semicolon ';'. This template is a workaround. It is not needed if phab:T28781 is fixed.
Usage
ફેરફાર કરોUse {{REVISIONUSER2}}
instead of {{REVISIONUSER}}
Use {{REVISIONUSER2|pagename}}
instead of {{REVISIONUSER:pagename}}
Note the pipe instead of a colon.
Example
ફેરફાર કરોSuppose you want to link the last editor of User:*Treker/sandbox.
[[User:{{REVISIONUSER2|User:*Treker/sandbox}}]]
produces:
[[User:]]
For comparison, [[User:{{REVISIONUSER:User:*Treker/sandbox}}]]
produces:
[[User:]]
The latter fails if the last editor is *Treker
and phab:T28781 is unfixed.
Usernames starting with * [૧] or ; [૨] are relatively rare. {{REVISIONUSER}}
may work correctly if it is not in the output but only used in a test during processing.
Alternative approach
ફેરફાર કરોWrapping {{REVISIONUSER}}
with {{#invoke:String2|nowiki|...}}
so it looks like {{#invoke:String2|nowiki|{{REVISIONUSER}}}}
also works.