Today, I checked the error log of my wiki, I saw:
[a9907077d21fd0849f06dfb9] /w/index.php?title=Special:ListFiles/%E6%98%9F%E8%80%80%E6%99%A8%E6%9B%A6&a[] MWException from line 539 of /srv/includes/Html.php: HTML attribute value can not contain a list of values Backtrace: #0 /srv/includes/Html.php(299): Html::expandAttributes(array) #1 /srv/includes/Html.php(210): Html::openElement(string, array) #2 /srv/includes/Html.php(235): Html::rawElement(string, array, string) #3 /srv/includes/Html.php(671): Html::element(string, array) #4 /srv/includes/Html.php(791): Html::input(string, array, string, array) #5 /srv/includes/htmlform/HTMLForm.php(1121): Html::hidden(string, array, array) #6 /srv/includes/htmlform/HTMLForm.php(1032): HTMLForm->getHiddenFields() #7 /srv/includes/htmlform/HTMLForm.php(1011): HTMLForm->getHTML(string) #8 /srv/includes/specials/pagers/ImageListPager.php(577): HTMLForm->displayForm(string) #9 /srv/includes/specials/SpecialListfiles.php(57): ImageListPager->getForm() #10 /srv/includes/specialpage/SpecialPage.php(522): SpecialListFiles->execute(string) #11 /srv/includes/specialpage/SpecialPageFactory.php(569): SpecialPage->run(string) #12 /srv/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext) #13 /srv/includes/MediaWiki.php(863): MediaWiki->performRequest() #14 /srv/includes/MediaWiki.php(524): MediaWiki->main() #15 /srv/index.php(42): MediaWiki->run() #16 {main}
Steps to reproduce
Access /w/index.php?title=Special:ListFiles/.*&((?!\[|\]).*)\[\] patten URL.
E.g.
https://www.mediawiki.org/w/index.php?title=Special:ListFiles/星耀晨曦&a[]
https://www.mediawiki.org/w/index.php?title=Special:ListFiles/星耀晨曦&b[]
https://www.mediawiki.org/w/index.php?title=Special:ListFiles/星耀晨曦&?[]
Current version
MediaWiki: 1.32.0-alpha (51f2618)