Extension talk:CreateRedirect

From mediawiki.org
Latest comment: 9 months ago by Samwilson in topic Toolbar button to create inward redirect?

Toolbar button to create inward redirect?[edit]

I've been wanting a feature for years: a WikiEditor toolbar button that makes it simple to create a redirect (e.g. for a {{shortcut}}) to the page that's currently being edited. Is this something that might fit in this extension? I'm happy to work on it. —Sam Wilson 23:48, 3 February 2020 (UTC)Reply[reply]

How is it connected to WikiEditor? All other buttons in WikiEditor are adding wikitext to the currently opened textarea (i.e. to page that is currently being edited). Edward Chernenko (talk) 01:13, 4 February 2020 (UTC)Reply[reply]
Also such script won't need this extension. Since toolbar buttons are added by JavaScript anyway (e.g. in Common.js), this JavaScript can use a direct API query to api.php?action=edit that will create a redirect. Edward Chernenko (talk) 01:14, 4 February 2020 (UTC)Reply[reply]
@Edward Chernenko: it's true, the toolbar button wouldn't have other dependencies on this extension, and it could do all it requires via the existing API. I guess I was just thinking that it is reasonably related functionality and so maybe adding it here would be better than in a new extension. But probably a new extension is a better way to go; I'll do that! —Sam Wilson 02:23, 4 February 2020 (UTC)Reply[reply]
I ended up creating Extension:RedirectManager. Sam Wilson 11:00, 14 April 2022 (UTC)Reply[reply]

Add template automatically to redirect[edit]

Hi Good time Is it possible to automatically add the {{R from move}} pattern to each change of direction? Thanks — Preceding unsigned comment added by Sokote_zaman (talkcontribs)

This is unrelated to this extension. You need to modify the page MediaWiki:Move-redirect-text on your wiki. Please refer to the general Support forum with further questions, if any. Edward Chernenko (talk) 07:57, 23 April 2020 (UTC)Reply[reply]

Thank you for your reply

However, the media page is used to transfer pages, and if the pages are moved, it will automatically add a {{R from move}} pattern.

And it has nothing to do with redirect Sokote zaman (talk) 11:00, 23 April 2020 (UTC)Reply[reply]

Please refer to the general Support forum. Edward Chernenko (talk) 11:14, 23 April 2020 (UTC)Reply[reply]

Licensing question (LGPL/GPL)[edit]

See https://phabricator.wikimedia.org/T297072 , not sure how to handle this. Edward Chernenko (talk) 06:35, 6 December 2021 (UTC)Reply[reply]

Resolved (relicensed from LGPL 3.0 to GPL 3.0, see T297072). Edward Chernenko (talk) 01:39, 3 January 2022 (UTC)Reply[reply]

Permissions issue[edit]

It sounds like there might be a problem with permissions-checking in this extension: https://phabricator.miraheze.org/T9061Sam Wilson 06:07, 14 April 2022 (UTC)Reply[reply]

I don't have access to this ticket, but I see the problem and have merged the hotfix. Will backport it to REL1_35 to REL1_37 shortly. Edward Chernenko (talk) 10:22, 14 April 2022 (UTC)Reply[reply]
Update: fix backported to REL1_35, REL1_36, REL1_37. Edward Chernenko (talk) 10:49, 14 April 2022 (UTC)Reply[reply]
Great, thanks! I'll let them know. Sam Wilson 10:59, 14 April 2022 (UTC)Reply[reply]