[Wikidata-bugs] [Maniphest] [Commented On] T114586: Special:NewItem redirects to https://www.wikidata.org/wiki/NewItem after clicking "create" following a "already exists" message

2018-02-11 Thread abian
abian added a comment.
Still happening. I share with you a debug file documenting this issue in a fresh installation. I hope it can be helpful.

F13570989: debug.logTASK DETAILhttps://phabricator.wikimedia.org/T114586EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: abianCc: abian, matej_suchanek, Liuxinyu970226, Lydia_Pintscher, StudiesWorld, thiemowmde, liangent, Sjoerddebruin, Aklapper, Stryn, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T114586: Special:NewItem redirects to https://www.wikidata.org/wiki/NewItem after clicking "create" following a "already exists" message

2017-01-04 Thread matej_suchanek
matej_suchanek added a comment.
I have just done a quick investigation: after submitting the form according to the steps, the HTML source contains  instead of  (which is there when you open an empty for). If I fix the source code and try to submit, it behaves correctly.

The action attribute comes from HTMLForm::getAction() which calls $this->getTitle()->getLocalURL(). So there is some problem with the title.

A quick solution could be like:

// SpecialNewEntity::createForm
/**
 * @return HTMLForm
 */
private function createForm() {
  return HTMLForm::factory( 'ooui', $this->getFormFields(), $this->getContext() )
->setTitle( SpecialPage::getTitleFor( $this->getName() ) )
  // ...

However, this fixes the reported problem but not the actual problem.TASK DETAILhttps://phabricator.wikimedia.org/T114586EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: matej_suchanekCc: matej_suchanek, Liuxinyu970226, Lydia_Pintscher, StudiesWorld, thiemowmde, liangent, Sjoerddebruin, Aklapper, Stryn, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T114586: Special:NewItem redirects to https://www.wikidata.org/wiki/NewItem after clicking "create" following a "already exists" message

2016-08-25 Thread Sjoerddebruin
Sjoerddebruin added a comment.
Still happening, what is needed to fix this?TASK DETAILhttps://phabricator.wikimedia.org/T114586EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SjoerddebruinCc: Sjoerddebruin, Aklapper, Stryn, D3r1ck01, Izno, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T114586: Special:NewItem redirects to https://www.wikidata.org/wiki/NewItem after clicking "create" following a "already exists" message

2015-10-23 Thread Sjoerddebruin
Sjoerddebruin added a subscriber: Sjoerddebruin.
Sjoerddebruin added a comment.

Can confirm.


TASK DETAIL
  https://phabricator.wikimedia.org/T114586

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sjoerddebruin
Cc: Sjoerddebruin, Aklapper, Stryn, Wikidata-bugs, aude



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs