To be specific:
Go to https://sandbox.semantic-mediawiki.net/w/index.php?title=TestDoc&action=formedit, you'll see the actual pagename there, instead of the displaytitle.
Description
Details
Related Objects
Event Timeline
Change 889950 had a related patch set uploaded (by Your1; author: Your1):
[mediawiki/extensions/PageForms@master] Fixes https://phabricator.wikimedia.org/T329928
Change 889950 abandoned by Your1:
[mediawiki/extensions/PageForms@master] Fixes https://phabricator.wikimedia.org/T329928
Reason:
Change 890002 had a related patch set uploaded (by Your1; author: Your1):
[mediawiki/extensions/PageForms@master] Fix for wrong values being displayed in the form field using tokens and display titles
So, after extensively testing with this fix I don't have this issue anymore on my branch. We did encounter a other issue, which is similar to T283161 and T132128.
Our scenario is that we have one category that has a lot of pages in it (around 10.000). Each page in that category has its own display title. Whenever we edit that for, the 'possible' values are limited to whatever $wgPageFormsMaxAutocompleteValues is set to. This is problematic, because whenever we search (through the autocomplete) on a value that's further away then the 1000 prefilled values in the form, it doesn't get resolved correctly.
I've already written a fix for this, but its written on the same change (https://gerrit.wikimedia.org/r/890002) above. Do you want me to submit another patch, or fix this issue in the same change?
Change 890002 had a related patch set uploaded (by Your1; author: Your1):
[mediawiki/extensions/PageForms@master] Fix for wrong values being displayed in form fields when using tokens and display titles. Also fixed a bug for larger autocomplete fields (higher than the allowed $wgPageFormsMaxAutocompleteValues var) which didn't save the value if it would be outside the maxautocompletevalues range. See more at T329928.
I've submitted this in the same patch, because things would be overcomplicated otherwise.
Change 890002 abandoned by Your1:
[mediawiki/extensions/PageForms@master] Fix for wrong values being displayed in form fields when using tokens and display titles. Also fixed a bug for larger autocomplete fields (higher than the allowed $wgPageFormsMaxAutocompleteValues var) which didn't save the value if it would be outside the maxautocompletevalues range. See more at T329928.
Reason:
Change 890002 restored by Your1:
[mediawiki/extensions/PageForms@master] Fix for wrong values being displayed in form fields when using tokens and display titles. Also fixed a bug for larger autocomplete fields (higher than the allowed $wgPageFormsMaxAutocompleteValues var) which didn't save the value if it would be outside the maxautocompletevalues range. See more at T329928.