Module talk:Requested move: Difference between revisions

Content deleted Content added
Line 10:
[[Special:Permalink/606319385#Requested move|This move request]] was submitted as a single move over a disambiguation page. [[Special:Diff/606407870|With this edit]] I converted it to a multi-move request. Just wondering if it might be possible for this module to detect requests to move over disambiguation pages and automatically create a multi-move request that includes the implied move of the dab page, i.e. automatically convert to a multi-move request as I did manually. – [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 02:29, 30 April 2014 (UTC)
:That's going to be hard to do. You can grab the page source, but the problem is that you have to then parse the source to find whether it has a disambiguation template in it. You would have to keep an up-to-date list of all disambig templates and their redirects, and you would probably have to keep tabs on the amount of string processing being done if many lengthy pages need to be parsed, so that we can keep execution time down to a reasonable amount. (If we go over 10 seconds in Lua on a given page, we get a script error.) And might there not be situations where you want to move a page over a disambiguation page, but not move the disambiguation page as well? — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 05:03, 30 April 2014 (UTC)
::Right, at [[Talk:Converge (band)#Requested page move]] there is a request to move over a 2-item dab [[Converge]], which could possibly be eliminated in favor of hatnotes (if there is a primary topic). Maybe we would limit automatic multi-conversion to dabs with more than two or three items in them. Look at [[Help:Magic words#Behavior switches]]:
::* <code><nowiki>__DISAMBIG__</nowiki></code> (marks a page as a [[WP:DAB|disambiguation page]] and places it in [[Special:DisambiguationPages]], and places inward links in [[Special:DisambiguationPageLinks]]). See [[mw:Extension:Disambiguator]].
::Would that be easier than checking for templates? [[User:Wbm1058|Wbm1058]] ([[User talk:Wbm1058|talk]]) 05:48, 30 April 2014 (UTC)