Last modified: 2014-09-04 13:30:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70846, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68846 - Flow: support Topic:OldPagename as a #REDIRECT
Flow: support Topic:OldPagename as a #REDIRECT
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 08:59 UTC by spage
Modified: 2014-09-04 13:30 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2014-07-30 08:59:38 UTC
When we enable Flow on a wiki and existing pages conflict with its Topic: namespace (or its localized aliases), we move those pages with the /namespaceDupes.php script. It would be nice to make Topic:OldPagename redirect. For example, https://en.wikipedia.org/wiki/Topic:_The_Washington_%26_Jefferson_College_Review

ErikB commented "if you have a revision in Topic: namespace that is wikitext (as opposed to flow-board) than that as a redirect is fine and will work"

The trick is to create a wikitext page in the NS_TOPIC namespace after Flow is enabled (which is what we need to do make the enwiki page above redirect).  You can't do this by editing Topic:OldPagename , since the edit action is invalid for a Flow topic. As a workaround it seems you can Move an existing article into the Topic: namespace without changing its content model, and it continues to act like a redirect.

One glitch is if you view the Topic:OldPagename with ?redirect=no, Flow dies with "Model/UUID.php: Unknown input to UUID class" from Flow\Content\Content::onFetchContentObject(Article, WikitextContent). If Flow thinks it should occupy the page it ignores the class of the page's content.
Comment 1 Danny Horn 2014-07-30 20:52:50 UTC
in backlog: https://trello.com/c/UnQWuBFZ
Comment 2 spage 2014-07-31 00:28:49 UTC
(In reply to spage from comment #0)
> it seems you can Move an
> existing article into the Topic: namespace without changing its content
> model, and it continues to act like a redirect.

That probably won't work on WMF wikis so long as $wgContentHandlerUseDB is false, see bug 49193.
Comment 3 Jon 2014-09-04 13:30:13 UTC
Seems like an enhancement. Key phrase "It would be nice" :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links