Page MenuHomePhabricator
Search Advanced Search
    • Task
    Parsoid depends on the Disambiguator extension. This extension should either be merged into core, or implemented with a hook or API that Parsoid can cleanly use. (Grep for this task # in the parsoid sources to learn more.)
    • Task
    Similar to T129388. It's difficult to give an exhaustive description, so see this proof of concept: * [OK](https://it.wikipedia.org/w/index.php?oldid=100941629) * [Not OK](https://it.wikipedia.org/w/index.php?oldid=100941643)
    • Task
    Disambiguation pages are tagged with `__DISAMBIG__` so that they're easier to work with; for example, tagging a page allows the software to easily tell whether a page is a disambiguation page without having to parse the page, and have a consistent API to tell clients this information. Almost always, this tag is put into a disambiguation template, so even the most experienced of editors aren't aware that the tag exists because they never see it and never have to add it. Nevertheless, there is a button in the page settings box in the visual editor to add the tag. There is no tooltip or other explanation given to the user as to why it's there or what it does. There probably should be. {F13710249} Original report: > I'll admit 2 things: > one is that I have never used the magic word to create/tag a disambig page. Interestingly, my colleague from en.wp said the same thing, > The second is that I would have loved to figure out what the option actually did via the (I) icon, but there isn't one there, and I don't even know if you ever planned to have one in the first place. TY!
    • Task
    On enwiki `DisambiguationPages` in the querycache hasn't been updated since `20130716141819`... Is this right? Shouldn't it have been updated? https://github.com/wikimedia/mediawiki-extensions-Disambiguator/blob/master/specials/SpecialDisambiguationPages.php Or are the rows under `DisambiguationPages` not from Disambiguator the extension? There are 1000 rows in the querycache table... There's thousands more available via https://en.wikipedia.org/w/index.php?title=Special:DisambiguationPages&limit=5000&offset=0 - Are they from the old MW implementation that was stripped out years ago? The page is marked as inexpensive - https://github.com/wikimedia/mediawiki-extensions-Disambiguator/blob/master/specials/SpecialDisambiguationPages.php#L20 which would presumably explain why it's not being cached? Notice when looking at T174513
    • Task
    In order to apply special styling to disambiguation pages (in our particular case, we want the TOC flushed right), we need a way to identify them in CSS. Adding a class "mw-disambig-page" to the page's body tag would accomplish that. Thanks.
    • Task
    Maybe its own ContentHandler type with its own special kind of editor?
    • Task
    On Flow pages links to disambiguation pages does not use the class "mw-disambig" Exception : when writing or editing a message as it uses VisualEditor classes and VisualEditor handles Extension:Disambiguator (or vice versa) Example : https://test.wikipedia.org/wiki/Topic:Tdjd6kijr6fp4mb8
    • Task
    Followup to {T146310} I'm thinking I'll send a note to wikitech-ambassadors explaining the feature, and then later on go, through the wikis myself seeing where I can add the magic word.
    • Task
    When I try to add link to "Note" on de.wikipedia in VE, I get a list of suggestions with titles starting with "Note". The first entry is a disambiguation page. It would be nice to have (some of) the links from that page also in the suggestion list, as it isn't unlikely that I want to link one of these pages. Not all of them start with "Note", so they won't turn up on a normal prefix search.
    • Task
    For example, presently to show a single non-disambig random article we have to use one of the two following approaches: - add "pageprops" to the random query, run the query, check returned pageprops for "disambiguation" and if found keep re-requesting another random article until we get an article without "disambiguation" pageprop - make the random query fetch multiple random articles, say 5, and check for one without "disambiguation" pageprop, hoping that we didn't get 5 disambiguation articles What would be nice to have is a parameter to exclude disambig pages, so, in the case of random, we could just ask for a single non-disambig random article.
    • Task
    English Wikipedia has hundreds of thousands of disambiguation pages. Ideally, no link should ever be made pointing directly to a disambiguation page at a primary topic title; the link should point to the actual article. For example, "the probe went to [[Mercury]]" should actually say "the probe went to [[Mercury (planet)|Mercury)]]"; if the link is intentional, it should pipe through a "foo (disambiguation)" redirect, as in, "there are many meanings of the word, [[Mercury (disambiguation)|Mercury]]". Despite intensive and longstanding efforts at correction, the number of incorrect links hovers around 150,000, with constant repair efforts being offset by the constant introduction of new errors. I therefore propose the creation of a notification system that would provide a pop-up alert or a warning screen to an editor, indicating that an edit they have made and are attempting to save in Article, Template, Category, Portal, or Draft space will create a link to a disambiguation page, rather than their intended target article. The notice would appear something like: > Warning: this edit will create a link to the disambiguation page, [[Mercury]]; if you intend to link to a specific meaning of Mercury, please correct the link so that it points to the article covering that meaning. If you intend to point to the disambiguation page, please pipe your link as [[Mercury (disambiguation)|Mercury]]. In a truly ideal world, the editor would then be offered a dropdown menu of possible meanings of "Mercury", and would be able to fix the link (and proceed with the save) by making one click to select the intended meaning. Whether such a dropdown menu is possible or not, the editor should have a chance to continue on to save the document as is, and to make the correction afterward. If it is not possible to implement this with respect to //all// disambiguation pages, it would still be very useful if such a system could be implemented with respect to a few hundred of the disambiguation pages that are most commonly linked. These can be readily identified by disambiguators, and will include disambiguation pages for terms that ambiguously refer to both nationalities and widely-spoken languages (English, Spanish, Chinese, etc.), terms that refer both to popular music genres and to other popular cultural or scientific topics (Rock, Pop, Heavy metal, etc.), terms that refer to popular or frequently referenced place names having other meanings (Georgia, Phoenix, Springfield, etc.), and terms having multiple scientific and popular culture meanings (Mercury, Battery, Spring, Seal, Model, etc.). **See also**: {T198936}
    • Task
    See T88227. ``` $wgResourceModules['ext.disambiguator.visualEditor'] = array( 'localBasePath' => __DIR__, 'remoteExtPath' => 'Disambiguator', 'scripts' => array( 'visualEditorIntegration.js' ), 'messages' => array( 'visualeditor-dialog-meta-settings-disambiguation-label' ), 'dependencies' => array( 'ext.visualEditor.mwmeta', 'ext.visualEditor.mediawiki' ), 'targets' => array( 'desktop', 'mobile' ) ); ``` ``` 22:00:57 There was 1 error: 22:00:57 22:00:57 1) ResourcesTest::testUnsatisfiableDependencies 22:00:57 Undefined index: ext.visualEditor.mediawiki 22:00:57 22:00:57 /srv/ssd/jenkins-slave/workspace/mwext-Disambiguator-testextension-zend/src/tests/phpunit/structure/ResourcesTest.php:94 22:00:57 /srv/ssd/jenkins-slave/workspace/mwext-Disambiguator-testextension-zend/src/tests/phpunit/MediaWikiTestCase.php:133 22:00:57 22:00:57 -- ```
    • Task
    From https://www.mediawiki.org/wiki/Thread:Talk:Page_Curation/Modifying_Page_Info_on_disambiguation_pages: Could the Page Curation toolbar be modified to prevent the "No citations" notice (under "Possible issues") from appearing on any page containing a disambiguation tag?
    • Task
    Now when I look at e.g. user's contributions, RC, etc. I cannot see disambigs (s)he edited highlighted while I can see it for redirects (I use simple css which changes background of links to disambigs or redirects). -------------------------- **Version**: unspecified **Severity**: normal
    • Task
    It would be useful for things like [[https://en.wikipedia.org/wiki/Module:WikiProjectBanner|Module:WikiProjectBanner]] if Scribunto could detect whether a given page is a disambiguation page or not. At present, the only way of doing this is to preprocess all of a page's text and search for the `__DISAMBIG__` magic word, which is obviously not practical for performance reasons. I envision this as an "isDisambig" property of the Scribunto title object, but the exact naming or location isn't so important.
    • Task
    The page [[Special:DisambiguationPageLinks]] (currently) has the item "ASCII → ASCII (disambiguation)" but it is the code {{about|the character encoding}} from [[ASCII]] which (intentionally) creates the link to the disambiguation [[ASCII (disambiguation)]] (and there is no other link to the same page). For maintenance purposes, it would be great to have a way to exclude this kind of links from the special page. Maybe we could have some tag which could be used in the [[Template:about]] as in <validLinkToDisambiguationPage>[[the link]]</validLinkToDisambiguationPage> ? -------------------------- **Version**: unspecified **Severity**: enhancement
    • Task
    [[MediaWiki:Disambiguationspage]] can be used. Is this bug a duplicate?
    • Task
    Is this what you're trying to say? >-'disambiguations-text' => "The following pages link to a '''disambiguation page'''. >+'disambiguations-text' => "The following pages (on the left) link to a '''disambiguation page''' (on the right). (Same for other languages.) But looking at e.g., [[Special:Disambiguations]], we see "(disambiguation)" scattered on both left and right. Personally in LocalSettings.php I instead just avoid the issue, via ``` functionJidanniLessSpecialPages(&$list){ foreach(array('Disambiguations',...)as $i){ unset($list[$i]);} return true;} $wgHooks['SpecialPage_initList'][]='JidanniLessSpecialPages'; ``` -------------------------- **Version**: unspecified **Severity**: enhancement **URL**: http://en.wikipedia.org/wiki/Special:Disambiguations
    • Task
    **Author:** `le.korrigan` **Description:** Currently, the improved Lucene Search on en.wikipedia indicates when results are redirects, or form a section of an another page. I think it would be useful if the results could indicate "(Disambiguation page)" when a page is a disambiguation, for example using the list of relevant templates from [[MediaWiki:Disambiguationspage]]. Thanks. -------------------------- **Version**: master **Severity**: enhancement
    • Task
    **Author:** `lcarsdata` **Description:** It would be useful to have a check box to remove disambiguation pages from [[Special:Allpages]] and [[Special:Preifxindex]]. -------------------------- **Version**: unspecified **Severity**: enhancement
    • Task
    **Author:** `dunc_harris` **Description:** I'm not sure this can be done without fixing T8754 first, but... [[special:allpages]] identifies redirect pages from all other pages. Redirects are in <i>italics</i>, whereas other pages are not. I want to split all other pages into article pages and disambiguation pages, so developing the theme, I think it would be good to put disambiguation pages in <b><i>bold italic</b></i>.
    • Task
    **Author:** `dunc_harris` **Description:** I'm not sure this can be done without fixing http://bugzilla.wikipedia.org/show_bug.cgi?id=6754 first, but... [[special:whatlinkshere]] identifies redirect pages from all other pages. I want to split all other pages into article pages and disambiguation pages, so that you end up with summut like this: The following pages link to [[foobar]] * [[FOOBAR]] (redirect page) * [[tree (disambiguation)]] (disambiguation page) * [[turtle]] * etc -------------------------- **Version**: unspecified **Severity**: enhancement