https://bugzilla.wikimedia.org/show_bug.cgi?id=49805
--- Comment #6 from Rical <[email protected]> --- 2 changes and 1 option ? My tests are in 2 pages which use the same module : https://test2.wikipedia.org/wiki/Victor_Hugo which give : entity = Q535 , sitelink = Victor Hugo and https://test2.wikipedia.org/wiki/Module:Auteur which give : getEntity=ERREUR In my mind, there are 2 changes to do : * Never return script error, then return nil if the page/query or the property don't exists. * Return the property if it exists. * Perhaps the script error masks some other usefull return. An option ? * Perhaps, in some cases, a third parameter could ask a type for the returned value, for date format... And a type/format could be returned as a second value. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
