[Bug 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #9 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 135793 merged by jenkins-bot: Allow customization of page action buttons https://gerrit.wikimedia.org/r/135793 -- 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
[Bug 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 Jon jrob...@wikimedia.org changed: What|Removed |Added Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED -- 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
[Bug 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 Florian florian.schmidt.wel...@t-online.de changed: What|Removed |Added Status|NEW |ASSIGNED CC||florian.schmidt.welzow@t-on ||line.de Assignee|wikibugs-l@lists.wikimedia. |florian.schmidt.welzow@t-on |org |line.de --- Comment #7 from Florian florian.schmidt.wel...@t-online.de --- I will try my luck and implement the solution as Jon has proposed :) Have we a look what i can :D -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #8 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 135793 had a related patch set uploaded by Florianschmidtwelzow: Allow customization of page action buttons https://gerrit.wikimedia.org/r/135793 -- 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
[Bug 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|ASSIGNED|PATCH_TO_REVIEW -- 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
[Bug 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #6 from Dan Jacobson jida...@jidanni.org --- Is there even a hook to get at this? -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #4 from Jon jrob...@wikimedia.org --- I'm confused. With the MinervaPreRender patch, are you writing a patch to fix this or looking for a short term fix? Short term fix would be to simply use css or hack the PHP (not advised :-)). SOmething like $wgMFNoPageActions would be great - but even better if it was more granular e.g. $wgMFPageActions = array( 'watch', 'talk', 'edit', 'upload' ); No page actions would then just be a case of: $wgMFPageActions = array(); -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #5 from Dan Jacobson jida...@jidanni.org --- Yes please implement that find grained approach. And users could then also do $wgMFPageActions = array(); in LocalSettings.php to prevent current and future page actions from appearing. -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #3 from Dan Jacobson jida...@jidanni.org --- One notices a protected function renderPageActions( $data ) { ?ul id=page-actions class=hlist?php foreach( $this-getPageActions() as $key = $val ): echo $this-makeListItem( $key, $val ); endforeach; ?/ul?php } Maybe wrapping part of it in if(!$wgMFNoPageActions){} might work. I tried function JZ($z){$z-data['page_actions']=array(); return true;} $wgHooks['MinervaPreRender'][]='JZ'; but that didn't work. Maybe I'm barking up the wrong tree. -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #1 from Bingle bingle-ad...@wikimedia.org --- Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1895 -- 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 63458] allow removing impossible page-actions
https://bugzilla.wikimedia.org/show_bug.cgi?id=63458 --- Comment #2 from Dan Jacobson jida...@jidanni.org --- One notices /** * Make the classes, tags and ids stripped from page content configurable. * Each item will be stripped from the page. */ $wgMFRemovableClasses = array( // These rules will be used for all transformations 'base' = array(), // HTML view 'HTML' = array(), ); Maybe this somehow could be/is related/employed? -- 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