ਫਰਮਾ:REVISIONUSER2/doc
ਇਹ ਇੱਕ ਫਰਮਾ:REVISIONUSER2 ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ 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:*Casper/sandbox.
[[User:{{REVISIONUSER2|User:*Casper/sandbox}}]]
produces:
[[User:]]
For comparison, [[User:{{REVISIONUSER:User:*Casper/sandbox}}]]
produces:
[[User:]]
The latter fails if the last editor is *Casper
and phab:T28781 is unfixed.
Usernames starting with * [1] or ; [2] 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.