User:Skyfiler/Disambiguation fixer

This is an idea about an Internet Explorer customization (possibly a WebBrowser ActiveX host or a Browser Helper Object) which works as a semiautomatic disambiguation tool for the WikiProject Disambigation fixer.

Current Version
Finished Download
 * Parsing the "What links here" page and generate a list of pages that link to a given ambiguous page.(Bots, query API, links)

Scope
The target platform will be Microsoft's Windows 2000 and Internet Explorer 6.0 web browser and wikipedia pages such as :


 * Category:Disambiguation contains most all the pages that are in the scope of this WikiProject.
 * Disambiguation pages with links lists pages that relate to the goal of eliminating links to disambiguation pages
 * Disambiguation pages maintenance lists pages that are known to have had incoming links repeatedly in the past and require monitoring
 * Current disambiguation collaboration at the Dab-pages-with-links page
 * Offline reports/Is this really a disambiguation page?, pages labeled as dabs that have only one article referenced on them
 * Category:Disambiguation pages in need of cleanup, dabs that have been tagged for needed attention

Program specifications
The disambiguation fixer relies on Internet Explorer for regular navigations such as login and editing. The customization will be the follows:
 * find the possible choices in a given disambiguation page.
 * find the possible pages that link to a given ambiguous page.
 * when editing pages that link to an ambiguous page, provide a search functionality to find and select the link text in the textbox.
 * provide additional context menus so the user can replace the selection with one of the possible choices in a mouse click
 * Fill in an edit summary automatically

Todo list

 * The background HTML parsers rely on the HTML structue of the target page so it may be necessary to support different wikipedia skins and versions (and different languages?). If this is not possible, maybe drag/drop can be used instead
 * Parsing the disambiguation page and generate a list of possible meanings. (Bots, query API, backlinks)
 * generating a regular expression for all possible links to the disambiguation topic.
 * adding menus to the default IE menu and handle them (should be easier if simply override the default edit menu) (How to customize the context menus of a WebBrowser control via the IDocHostUIHandler interface seems solven this problem)

Decisions to make

 * Should it have an embedded browser or open another Internet Explorer window for editing?
 * Make it to a COM object so other languages can use it?
 * Save the current progress to disk to continue fixing later?

Wish List

 * Automating Internet Explorer to cooperate with Google Toolbar.
 * Support for other languages

Reference

 * WebBrowser Customization
 * Microsoft WebBrowser Customization Links