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

       Web browser: ---
            Bug ID: 60758
           Summary: mw.message.newRawMessage allowing unintended behaviors
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: jackmcbarn+w...@gmail.com
                CC: bjor...@wikimedia.org, tstarl...@wikimedia.org,
                    vasi...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Using mw.message.newRawMessage allows performing several actions that are
otherwise disabled because they break things, such as checking if a page exists
without incrementing the expensive function count or adding a pagelink (see
https://en.wikipedia.org/wiki/Wikipedia_talk:Lua#Ifexist_alternative for more),
and for getting Wikidata properties of pages other than the current one, which
also won't be updated properly (see
https://en.wikipedia.org/wiki/Wikipedia_talk:Lua#.22Hacking.22_into_Wikidata_to_get_properties_of_miscellaneous_articles
for more). Is there some way that newRawMessage could be tweaked to either not
allow this type of thing at all, or to make it happen properly?

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to