https://bugzilla.wikimedia.org/show_bug.cgi?id=68846
Bug ID: 68846
Summary: Flow: support Topic:OldPagename as a #REDIRECT
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Flow
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l