Let $X_i, i = 1, \ldots, n$ be i.i.d. $\sim F_\theta$, where $F_\theta(x) = F(x - \theta)$ for some $F$ that has median equal to 0. $F$ is assumed unknown or only partially known, and the problem is to estimate $\theta$. Priors are put on the pair $(F, \theta)$. The priors on $F$ concentrate all their mass on c.d.f.s with median equal to 0. These priors include "Dirichlet-type" priors. The marginal posterior distribution of $\theta$ given $X_1, \ldots, X_n$ is computed. The mean of the posterior is taken as the estimate of $\theta$.
"Bayesian Nonparametric Estimation of the Median; Part I: Computation of the Estimates." Ann. Statist. 13 (4) 1432 - 1444, December, 1985. https://doi.org/10.1214/aos/1176349746