This website requires JavaScript.
Explore
Help
Register
Sign In
wikimedia
/
mediawiki-extensions-AbuseFilter
Watch
1
Star
0
Fork
You've already forked mediawiki-extensions-AbuseFilter
0
mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced
2024-11-27 15:30:42 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
mediawiki-extensions-AbuseF...
/
tests
/
parserTests
/
dundefined.t
2 lines
20 B
Perl
Raw
Permalink
Normal View
History
Unescape
Escape
Better handling of DNONE This patch includes: * Making it possible to access offsets of a DNONE (returning a DNONE) * Initializing user-defined variables as DNONE inside short-circuited branches * Make DNONE propagate with other operators * Make DNONE count as false for logic operators * Remove a now-outaded bit in doLevelAtom. In case of shortcircuit, $result is now DNONE instead of DNULL, and thus it's possible to access offsets of it. Performance++! * Don't allow modifying or adding an element of a DNONE as if it were an array (to avoid inconsistencies) This re-applies Id85c673337fa90a3782fd22eb9690cd996967111 with several fixes. NOTE: Haven't tested locally, although I'm pretty confident thanks to the amount of tests added. Bug: T214674 Bug: T228677 Change-Id: I5ec4ab44c4e88aaf18c0d7b73355d27050beeda7
2019-08-02 11:49:34 +00:00
old_wikitext
|
true
Reference in a new issue
Copy permalink