I wish this extension put the user directly into the page editor, instead of having to take an additional step to go to the page editor
Extension talk:CreatePageUw
Appearance
How would it know the title of the new page?
the title is specified in the input box?
This is current behavior already. Currrently the user 1) types title into the field, 2) clicks "Create" button and gets immediately redirected to the edit form.
Hello!
Can you add namespaces dropdown menu while creating page?
Not sure that we should complicate the interface. This extension is for very new editors. They won't really know what "namespace" is (in 99% cases, they want to create an article in Main namespace), and this dropdown menu may confuse them.
But would be great if the site developer could set this as a preset. The user experience would be the same, but the dev could set the initial namespace so it doesnt *HAVE* to be (Main)
Question: would the following approach be convenient (if implemented)? "If user is visiting Special:CreatePage/Template
, then a page would be created in Template:
namespace instead of main namespace".
This can be used in links like [[Special:CreatePage/Category|Click here to create a new category]]
.
Yes!
You read my mind. Yes!
Implemented, backported to branches of MediaWiki 1.37 and 1.35.
Hi,
I'm using the TinyMCE editor and I'm using the CreatePageUw extension, but TinyMCE does not display when creating a new page in CreatePageUw. It looks like a mistake. You can check it?
I'm sorry, but supporting lots of different editors (other than VisualEditor) is somewhat outside the scope of this extension. It just opens ?action=edit&title=Name_of_article.
If someone else implements this feature, they can submit a patch and it will be added.
I understand it. If I enter this, example: index.php?title=Test&action=tinymceedit then when creating a new page the TinyMCE editor is displayed correctly, but it's not comfortable.
"If someone else implements this feature, they can submit a patch and it will be added".
Where can I report it? Where are the programmers here?
Why can't you implement this feature to your extension?
Busy on other projects (have 500+ features that "would be nice to implement" waiting in line). Sorry.
I understand it. It would be nice if you did not forget about this function in future for TinyMCE. This function is needed for editors. I hope you understand this.
You can hire me to implement it now, or you can find another developer to implement it for free.
@AhmadF.Cheema has created a patch for the CreatePageUw extension that makes the TinyMCE editor display correctly in your extension.
"If someone else implements this feature, they can submit a patch and it will be added"
Can you implement this patch for the CreatePageUw extension?
The patch (change comparison) should work fine with REL1_31 (the patch was straightforward enough), however, later versions of the extension include tests/phpunit
too, which could be too complicated to support by the extension author.
I have one more question, do you know why this editor does not display in "Edit source"?
This question is kind of misplaced on the Extension:CreatePageUw talk page, as it is concerned with Extension:TinyMCE.
> has created a patch
I created this patch in 1 second in my mind 3 days ago.
You need to make this a Gerrit change, manually test it in MediaWiki 1.27 (old LTS), 1.31 (LTS), 1.33 (since it should be backported), and please don't forget to write an automated test in SpecialCreatePageTest.php so that this is automatically tested, and I'll press the "Merge" button in Gerrit.
This is what takes time for the developer, not replacing "veaction=edit" with "action=tinymceedit" in one place in the code (as 1 user can do for himself in his local installation of MediaWiki).
Can you explain it to me? What exactly should I do? I have no idea.
Then why are you demanding that a person who explicitly said "I am busy on other projects" should do this immediately, if you don't know how much additional work can this visibly trivial task include?
Aside from the patch above, what's needed is:
- automated test (script that says "does it work or not", which already exists for current version of extension - without this feature),
- consider if making one configuration variable $wgCreatePageUwEditor would be better than many variables like $wgCreatePageUwUseVisualEditor and $wgCreatePageUwUseTMCE (because I can totally imagine further requests like "implement editor A" and "implement editor B" - should there be 10 variables for "type of editor"?),
- consider if [ 'veaction' => 'edit' ] and [ 'action' => 'tinymceedit' ] should be a configuration variable in LocalSettings.php - that would have a benefit of "user can configure any editor in LocalSettings.php". Not neglect the fact that some editor can use another type of URL, e.g. Special:SomeCoolEditor/PageName.
- deprecate $wgCreatePageUwUseVisualEditor if needed, and test backward compatibility (that $wgCreatePageUwUseVisualEditor still works after this change),
- document the change,
- check that it works in latest MediaWiki and LTS versions,
- make Gerrit change and wait for it to be merged,
- make backport change at least to REL1_31, so that users of LTS version of MediaWiki can enjoy this feature too,
- etc.
This patch works fine I don't know PHP, I am unable to perform this test and submit changes to Gerrit. I understand that you are very busy. Maybe someone else will do this test and confirm that that this patch works correctly and send the changes to Gerrit. I hope that someday this feature will be implemented into your extension for other users.
Can i use this page from extension (Special:CreatePage) to create articles with VisualEditor?
Yes. Set $wgCreatePageUwUseVE=true;
in LocalSettings.php. Edward Chernenko (talk) 17:29, 24 January 2017 (UTC)
There are no older topics