Extension talk:CreateRedirect

From mediawiki.org
Jump to navigation Jump to search

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]

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]
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]
@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]

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]

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]

Please refer to the general Support forum. Edward Chernenko (talk) 11:14, 23 April 2020 (UTC)[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]

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