|
|
Line 13: |
Line 13: |
| |- | | |- |
| |} | | |} |
− |
| |
− | ==Rob test==
| |
− | {{#form:
| |
− |
| |
− | {{#input:type=hidden|name=title|value={{FULLPAGENAMEE}}}}
| |
− | {{#input:type=hidden|name=summary|value=<nowiki>Add to [[Category:{{CURRENTUSER}}]]</nowiki>}}
| |
− | {{#input:type=hidden|name=caction|value=append}}
| |
− | {{#input:type=hidden|name=regexp|id=setcat-regexp}}
| |
− | {{#input:type=hidden|name=content|id=setcat-content}}
| |
− | {{#input:type=submit|value=Set category to {{CURRENTUSER}}
| |
− | | onClick =
| |
− | document.getElementById('setcat-regexp').setAttribute('value','\\[\\[Category:{{CURRENTUSER}}.*?\\]\\]');
| |
− | document.getElementById('setcat-content').setAttribute('value','['+'[Category:{{CURRENTUSER}}]'+']');
| |
− | }}
| |
− |
| |
− |
| |
− | }}
| |
− | [[Category:Rob]]
| |