Catrope added a comment.
In T223526#5189549 <https://phabricator.wikimedia.org/T223526#5189549>, @Theklan wrote: > It works (partially). It moves the link only if the "In other projects" section exists. Try this: if ( !$( '#p-wikibase-otherprojects' ).length ) { $( '#p-tb' ).before( $( '<div class="portal" role="navigation" id="p-wikibase-otherprojects" aria-labelledby="p-wikibase-otherprojects-label"><h3 lang="en" dir="ltr" id="p-wikibase-otherprojects-label">In other projects</h3><div class="body"><ul></ul></div></div>' ) ); } $( '#p-wikibase-otherprojects ul' ).append( $( '#t-wikibase' ) ); (with "In other projects" changed to the Basque translation of that phrase) TASK DETAIL https://phabricator.wikimedia.org/T223526 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Theklan, Catrope Cc: Catrope, Ladsgroup, Lea_Lacroix_WMDE, Lydia_Pintscher, Aklapper, Trizek-WMF, MMiller_WMF, Inaki-LL, Theklan, darthmon_wmde, alaa_wmde, Ferenczy, sarhan.alaa, Samuditha24, IM3847, Nandana, kostajh, Lahi, Gq86, Xabier.Armendaritz, Gorkaazk, Ksarasola, GoranSMilovanovic, Jayprakash12345, Chicocvenancio, MichaelSchoenitzer_WMDE, QZanden, LawExplorer, Jogi_don, _jensen, rosalieper, D3r1ck01, Samwilson, Wikidata-bugs, Jdlrobson, aude, Mbch331, Rxy
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs