[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 --- Comment #7 from PRO --- (In reply to Helder from comment #6) No and thx for clarification, it work now with the module load and moment().format('-M-D') -> solved -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 --- Comment #6 from Helder --- Have you added the module "moment" as a dependency to your script/gadget? That seems to be the ResourceLoader module associated to the files where this function is defined: https://gerrit.wikimedia.org/r/#/c/9/3/resources/Resources.php,unified https://gerrit.wikimedia.org/r/#/c/9/3/resources/moment/moment.js,unified If it is a user script, you can use something like mw.loader.using( 'moment', function(){ // ... moment.format('-M-D') // ... } ) as documented on https://www.mediawiki.org/w/index.php?title=ResourceLoader/Default_modules#mw.loader.using -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 --- Comment #5 from PRO --- Ok it works if the MultimediaViewer is loaded. Could be there a documentation how to load this library / extension explicit!? -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 PRO changed: What|Removed |Added CC||perheli...@gmail.com --- Comment #4 from PRO --- Until ca. yesterday this code has worked moment.format('-M-D') but yet not anymore. -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 Mark Holmquist changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Mark Holmquist --- I'm marking this as closed (though Krinkle didn't merge it, I did) - we now have a library, and an extension (MultimediaViewer) is already using it. I call that a success. -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 --- Comment #2 from Helder --- Change 9 merged by Krinkle: Add Moment.js library for working with date and time https://gerrit.wikimedia.org/r/9 -- 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
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 Andre Klapper changed: What|Removed |Added Priority|Unprioritized |Normal CC||aklap...@wikimedia.org --- Comment #1 from Andre Klapper --- Krinkle: Would that fix bug 30857? -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 Helder changed: What|Removed |Added CC||mybugs.m...@gmail.com -- You are receiving this mail because: You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 45834] Implement mw.Time module for parsing, formatting and "timeago" display of timestamps
https://bugzilla.wikimedia.org/show_bug.cgi?id=45834 Siebrand changed: What|Removed |Added Keywords||i18n CC||s.mazel...@xs4all.nl -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l