https://bugzilla.wikimedia.org/show_bug.cgi?id=57765

       Web browser: ---
            Bug ID: 57765
           Summary: Provide JavaScript hook
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: mybugs.m...@gmail.com
                CC: krinklem...@gmail.com, matma....@gmail.com,
                    wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

When I open [[d:Q11205]] the script
https://www.wikidata.org/wiki/MediaWiki:Gadget-AuthorityControl.js
changes the value "513" of the [[d:Property:P1036]] (Dewey Decimal
Classification) into a link. But this link disappears if I click on edit and
then cancel (or save, etc...). There should be a hook[1] which the gadget could
use for this.

I don't know if the hook 'wikipage.content' should be fired, or created a new
one for this

[1] https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.hook

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to