Page MenuHomePhabricator

Lua error at line 1: unexpected symbol near '{'.
Closed, InvalidPublicBUG REPORT

Assigned To
None
Authored By
Rtnf
May 22 2024, 1:33 PM
Project Tags
None
Referenced Files
F54131841: Screenshot_572.png
May 22 2024, 1:37 PM
F54131722: Screenshot_571.png
May 22 2024, 1:33 PM

Description

Steps to replicate the issue (include links if applicable):

  • Create a new module page (Modul:Hlist) on bewwiki
  • Copy content from (Module:Hlist) on enwiki to that new module page
  • Save

What happens?:

  • Lua error at line 1: unexpected symbol near '{'.

What should have happened instead?:

  • The page can be saved normally

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
1.43.0-wmf.5

Other information (browser name/version, screenshots, etc.):

Screenshot_571.png (1,039×572 px, 47 KB)

Similar behavior could also be observed on the other module's page. (for example : Module:Infobox styles.css)

Screenshot_572.png (394×583 px, 92 KB)

Event Timeline

taavi subscribed.

You're trying to copy a template (wikitext) to a module (Lua) code, which is failing as expected.

I'm sorry. Thank you very much.