HomePhabricator

Relax section id validations in mw.cx.getSourceSection and getTranslationSection

Description

Relax section id validations in mw.cx.getSourceSection and getTranslationSection

These section ids are generated by parsoid. Usually it is prefixed with 'mw'.
But it is not guaranteed. Sometimes templates assign their own ids to sections

This commit removes the validations for prefixes because we need to accept
ids from templates as well.

Bug: T112253
Change-Id: I6875f6445d43039bc191d02295675b09315bf00c

Details

Provenance
santhoshAuthored on
Amire80Committed on Sep 29 2015, 9:38 AM
Parents
rECTX37787f79bf5f: Set absolute URLs for source links
Branches
Unknown
Tags
Unknown
ChangeId
I6875f6445d43039bc191d02295675b09315bf00c