Jump to content

Template:Userscript/testcases

From Wikipedia, the free encyclopedia

Code with existent script

[edit]
{{Userscript}}→ QuickEdit[1] (source)
{{Userscript/sandbox}}→ QuickEdit [2](source)

Doc with existent script

[edit]
{{Userscript}}→ QuickEdit[3] (source)
{{Userscript/sandbox}}→ QuickEdit [4](source)

Code with nonexistent script

[edit]
{{Userscript}}→ dfsgvfds[5] (source)
{{Userscript/sandbox}}→ dfsgvfds[6](source)

Doc with nonexistent script

[edit]
{{Userscript}}→ dfsgvfds
{{Userscript/sandbox}}→ dfsgvfds

Doc and code

[edit]
{{Userscript}}→ dfsgvfds[7] (source)
{{Userscript/sandbox}}→ dfsgvfds [8](source)

Name

[edit]
{{Userscript}}→ Script name[9] (source)
{{Userscript/sandbox}}→ Script name[10](source)

Desc

[edit]
{{Userscript}}→ dfsgvfds[11] (source) – User script that does things
{{Userscript/sandbox}}→ dfsgvfds [12](source)
[edit]
{{Userscript}}→ dfsgvfds[13] (source)
{{Userscript/sandbox}}→ dfsgvfds [14](source)

No reference

[edit]
{{Userscript}}→ dfsgvfds (source)
{{Userscript/sandbox}}→ dfsgvfds [15](source)

No autoinstall

[edit]
{{Userscript}}→ dfsgvfds (source)
[[User:Example/dfsgvfds|dfsgvfds]] <small>([[User:Example/dfsgvfds.js|source]])</small>
{{Userscript/sandbox}}→ dfsgvfds (source)
[[User:Example/dfsgvfds |  dfsgvfds ]]<small>([[User:Example/dfsgvfds.js|source]])</small>
  1. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:BrandonXLF/QuickEdit.js}}
  2. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:BrandonXLF/QuickEdit.js}}
  3. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1= User:BrandonXLF/QuickEdit.js}}
  4. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1= User:BrandonXLF/QuickEdit.js}}
  5. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Example/dfsgvfds.js}}
  6. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js}}
  7. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Example/dfsgvfds.js}}
  8. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js}}
  9. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Example/dfsgvfds.js}}
  10. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js}}
  11. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Example/dfsgvfds.js}}
  12. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js}}
  13. ↑ Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Example/dfsgvfds.js|2=yes}}
  14. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js|2=yes}}
  15. ↑ Copy the following code, click here, then paste:
    {{subst:iusc|1=User:Example/dfsgvfds.js}}